package com.killer.controller;

import com.killer.anno.Controller;
import com.killer.anno.RequestMapping;
import com.killer.anno.Security;
import com.killer.pojo.User;

/**
 * @author ：Killer
 * @date ：Created in 20-10-26 下午3:39
 * @description：${description}
 * @modified By：
 * @version: version
 */
@Controller
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/getUser")
    @Security({"admin"})
    public User getUser(String name){
        User user = new User(1l, "张三", 22);
        return user;
    }

}
